FROM ss.zlzblog.com:6021/zlzblog-jdk17:latest
MAINTAINER zlzblog
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
ADD ./app.jar .
RUN unlink /etc/localtime
CMD java -jar app.jar --spring.profiles.active=prod
